<!DOCTYPE html>
<html lang="en">
<head>
  <title>浩然金融中心管理平台</title>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"
        name="viewport">
  <#include "/common/csslib.html">
  <script type="text/javascript">
      var textareaEditor;
  </script>
</head>
<body>
<div class="main-wrapper">
  <!-- start: MAIN CONTAINER -->
  <div class="main-container inner">
    <!-- start: PAGE -->
    <div class="main-content">
      <div class="container">
        <div class="row h-home-path">
          <div class="col-md-12">
            <ol class="breadcrumb">
              <li><i class="fa fa-home"></i>&nbsp;&nbsp;所在位置</li>
              <li>首页</li>
              <li class="active">查看公告通知信息</li>
            </ol>
          </div>
        </div>
        <div class="form-horizontal  h-form-warp">
          <form action="/systemNotice/saveSystemNotice" class="form-horizontal" id="systemNoticeForm" method="post"
                role="form">
            <div class="form-group">
              <div class="col-sm-12 text-center">
                <label>${systemNotice.noticeTitle}</label>
              </div>
            </div>
            <div class="form-group">
              <div class="col-sm-10 text-right">
                发布人：<label>${systemNotice.createBy}</label>
              </div>
              <div class="col-sm-1 text-right">
                发布时间：<label id="publicTime"></label>
              </div>
            </div>
            <div class="form-group">
              ${systemNotice.noticeContent}
            </div>
          </form>
        </div>
      </div>
    </div>
    <!-- end: PAGE -->
  </div>
  <!-- end: MAIN CONTAINER -->
</div>
<#include "/common/jslib.html">
<!-- form页面js -->
<script type="text/javascript">
    $(function () {
        // 页面操作类型：add(添加)-edit(编辑)-view(查看)
        var operation = $("#operation").val();
        SystemNoticeMgr = {
            // 初始化
            init: function () {
                // 查看的时候不显示保存按钮
                if (operation == "view") {
                    Jmts.setFormReadOnly();
                }
                var createTime = "${systemNotice.createDate!}";
                $("#publicTime").val(Jmts.formatDate(createTime));
            },
            // init end
            //返回
            returnIndex: function () {
                window.location.href = "/systemNotice/query";
            }
        };
        // 执行初始化
        SystemNoticeMgr.init();
        // 前台验证表单
        $("#systemNoticeForm").validate();
    });
</script>
</body>
</html>
